package com.yao.amssm.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.context.annotation.FilterType;
import org.springframework.context.annotation.Import;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@Configuration
@ComponentScan(basePackages={"com.yao.amssm.*.service","com.yao.amssm.*.dao"},excludeFilters={@Filter(type=FilterType.ANNOTATION,value=EnableWebMvc.class)})// 这个是为了不让扫描到springmvc的控制器
@Import(value=DataSourceConfig.class)
public class RootConfig {
	
	

}
